package com.wx.service;

import java.util.List;

import com.wx.entity.SysWebArticle;
import com.wx.entity.SysWebSite;
import com.wx.model.article.ArticleSummaryRecordModel;
import com.wx.model.article.SiteModel;
import com.zyht.common.util.Page;

public interface ArticlemsgService {

	Page<SysWebArticle> getListByPage(Integer currentPage, Long siteid);
	
	Page<SysWebArticle> getListByPage(Integer currentPage);

	/**
	 * 保存
	 * @param article
	 */
	void doSaveArticle(SaveArticleParameter saveArticleParameter, Long id);

	SysWebArticle getArticle(Long article_id);

	List<SiteModel> getSite();

	List<ArticleSummaryRecordModel> getArticleSummary(Long sitenId, Integer currentPage,Integer rowPage);

	SysWebSite getWebSiteBySiteId(Long siteId);

	List<SysWebSite> getSitePid(Long siteId);

	List<SysWebSite> getSitePids(List<Long> siteIds);
	
	Integer deleteArticleById(Long id);

	/**
	 * 获取本栏目下第一篇文章
	 * @param siteId
	 * @return
	 */
	SysWebArticle getArticleBySiteIdFT(Long siteId);

	List<SysWebArticle> list();

}
